.micro-skin {
    max-width: 640px;
    margin: 0 auto;
    .micro-publish {
        background-color: #fff;
        padding: 10px;
        margin-bottom: 20px;
        .input {
            textarea {
                width: 100%;
                height: 80px;
                resize: none;
            }
        }
        .lang-input {
            display: inline-block;
            input {
                width: 60px;
            }
        }
        .tag-input {
            display: inline-block;
            input {
                width: 200px;
            }
        }
        .actions {
            position: relative;
            text-align: right;
            .tools {
                float: left;
            }
        }
        .title {
            .tip {
                display: none;
                float: right;
                font-weight: 700;
                color: #777;
                font-size: 12px;
                em {
                    font-style: normal;
                    padding: 0 2px;
                }
            }
        }
    }
    .micro-item {
        background-color: #fff;
        margin-bottom: 20px;
        .body {
            padding: 10px;
            display: grid;
            grid-template-columns: 50px 1fr;
            grid-gap: 10px;
            .avatar {
                img {
                    width: 50px;
                    height: 50px;
                }
            }
            .name {
                font-weight: 700px;
                color: #000;
                font-size: 20px;
            }
            .time,
            .from {
                color: #777;
                font-size: 12px;
            }
        }
        .attachment {
            position: relative;
            li {
                list-style: none;
                display: inline-block;
                cursor: zoom-in;
            }
            img {
                max-width: 100%;
            }
            .media-min {
                li {
                    width: 110px;
                    height: 110px;
                    margin: 4px 0 0 4px;
                    position: relative;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            .fa-times {
                display: none;
                position: absolute;
                right: 5px;
                top: 5px;
            }
            .media-large {
                display: none;
                position: relative;
                img {
                    cursor: zoom-out;
                }
            }
            &.media-slider {
                background-color: #f2f2f5;
                padding-top: 30px;
                .fa-times {
                    display: block;
                }
                .media-large {
                    display: block;
                }
                ul {
                    display: none;
                    &.media-min {
                        display: block;
                    }
                }
                li {
                    width: 56px;
                    height: 56px;
                }
            }
        }
        .tags {
            li {
                display: inline-block;
                background-color: #ccc;
                padding: 2px 5px;
            }
        }
        .ations {
            display: flex;
            justify-content: space-around;
            flex-flow: row nowrap;
            line-height: 40px;
            border-top: 1px solid;
            border-bottom: 1px solid;
            a {
                display: inline-block;
                text-align: center;
                width: 25%;
                &:not(:last-child) {
                    border-right: 1px solid #333;
                }
                &.active {
                    color: #f00;
                }
            }
        }
        .forward-source {
            background-color: #f2f2f5;
            padding: 4px 20px 1px 60px;
            grid-column: 1/3;
            .content {
                font-size: 14px;
            }
        }
    }

    .comment-box {
        padding: 10px 20px 0;
        background-color: rgb(247, 240, 240);
        display: none;
        .comment-publish {
            display: grid;
            grid-template-columns: 30px 1fr;
            grid-gap: 10px;
            .avatar {
                img {
                    width: 30px;
                    height: 30px;
                }
            }
        }
        .reply-input {
            .input {
                textarea {
                    width: 100%;
                    height: 30px;
                    resize: none;
                    padding: 6px 2px;
                    line-height: 18px;
                    font-size: 14px;
                }
            }
            .input-actions {
                text-align: right;
                .tools {
                    float: left;
                }
                .btn {
                    line-height: 25px;
                    padding: 0 10px;
                    &.btn-disable {
                        background-color: #ccc;
                    }
                }
            }
        }
        .comment-item {
            display: grid;
            grid-template-columns: 30px 1fr;
            grid-gap: 10px;
            padding: 10px;
            .avatar {
                img {
                    width: 30px;
                    height: 30px;
                }
            }
            .text {
                a {
                    color: #eb7350;
                }
            }
            .actions {
                .time {
                    color: #777;
                    font-size: 12px;
                }
                .tools {
                    float: right;
                    a {
                        padding: 0 10px;
                        &:not(:last-child) {
                            border-right: 1px solid #333;
                        }
                    }
                }
            }
            &:not(:last-child) {
                border-bottom: 1px solid #333;
            }
        }
        .reply-box {
            background-color: #eaeaec;
        }
    }
    &.code-container {
        max-width: 1200px;
        .micro-item {
            .body {
                display: block;
                position: relative;
                padding-left: 80px;
                min-height: 200px;
            }
            .avatar {
                position: absolute;
                left: 10px;
            }
        }
        .content {
            overflow-x: auto;
            width: 100%;
        }
    }
}
.forward-box {
    max-width: 400px;
    width: 100%;
    .simple {
        background-color: #f2f2f5;
        position: relative;
        margin: 0 0 10px;
        padding: 5px 10px;
        line-height: 20px;
    }
    textarea {
        width: 100%;
        height: 80px;
        resize: none;
    }
}

.dialog-emoji,
.dialog-upload {
    position: absolute;
    display: none;
    width: 100%;
    max-width: 320px;
    background-color: #fff;
    box-shadow: 1px 1px 0 rgba($color: #000000, $alpha: .3);
    z-index: 9999;
    .dialog-header {
        line-height: 40px;
        position: relative;
        .fa-times {
            position: absolute;
            right: 10px;
            top: 10px;
        }
        .tab-header {
            background-color: #f2f2f5;
            border-color: #d9d9d9;
            li {
                display: inline-block;
                &.active {
                    background-color: #fff;
                    border-bottom: 2px solid #fa7d3c;
                }
            }
            
        }
    }
    .dialog-body {
        height: 250px;
        overflow-y: auto;
        .tab-item {
            display: none;
            &.active {
                display: block;
            }
        }
    }
    .emoji-item {
        display: inline-block;
        width: 36px;
        height: 36px;
        border: 1px solid #e8e8e8;
        text-align: center;
        padding: 6px 4px;
        img {
            width: 22px;
            height: 22px;
        }
        &:hover {
            border: 1px solid #eb7350;
            background: #fff9ec;
        }
    }

    .file-item,
    .add-btn {
        text-align: center;
        display: inline-block;
        width: 100px;
        height: 100px;
        position: relative;
        border: 1px solid #e8e8e8;
        vertical-align: top;
        .fa-plus {
            font-size: 60px;
        }
        img {
            width: 100%;
            height: 100%;
        }
        .fa-times {
            position: absolute;
            right: 0;
            top: 0;
        }
    }
    .add-btn {
        padding: 20px 0;
    }
}
.dialog-upload {
    z-index: 99;
}